package com.easy.common;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

public class YearlySumResult implements Serializable {

    private Integer year;
    private List<BigDecimal> totalInSums;    // 每个月的入库总金额列表
    private List<BigDecimal> totalOutSums;   // 每个月的出库总金额列表

    // 构造函数
    public YearlySumResult(Integer year, List<BigDecimal> totalInSums, List<BigDecimal> totalOutSums) {
        this.year = year;
        this.totalInSums = totalInSums;
        this.totalOutSums = totalOutSums;
    }

    // Getters and Setters
    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public List<BigDecimal> getTotalInSums() {
        return totalInSums;
    }

    public void setTotalInSums(List<BigDecimal> totalInSums) {
        this.totalInSums = totalInSums;
    }

    public List<BigDecimal> getTotalOutSums() {
        return totalOutSums;
    }

    public void setTotalOutSums(List<BigDecimal> totalOutSums) {
        this.totalOutSums = totalOutSums;
    }
}
